﻿using System;

namespace TextEditor
{
    

    public class SmartTagItem
    {
        public bool Checked;
        public string Data;
        public int ID;
        public SmartTagProvider Provider;
        public string Text;

        public SmartTagItem(string txt)
        {
            this.ID = -1;
            this.Text = txt;
        }

        public SmartTagItem(SmartTagProvider p, int vID, string txt)
        {
            this.ID = -1;
            this.Provider = p;
            this.ID = vID;
            this.Checked = false;
            this.Text = txt;
        }

        public SmartTagItem(SmartTagProvider p, int vID, bool c, string txt)
        {
            this.ID = -1;
            this.Provider = p;
            this.ID = vID;
            this.Checked = c;
            this.Text = txt;
        }

        public SmartTagItem(SmartTagProvider p, int vID, bool c, string txt, string vData)
        {
            this.ID = -1;
            this.Provider = p;
            this.ID = vID;
            this.Checked = c;
            this.Text = txt;
            this.Data = vData;
        }
    }
}

